package cn.stylefeng.guns.modular.fi.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 承运商运费对账单
 * </p>
 *
 * @author zhangzh
 * @since 2024-06-21
 */
@TableName("fi_carrier_freight_info")
public class FiCarrierFreightInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 开始日期
     */
    @TableField("start_dt")
    private Date startDt;

    /**
     * 截至日期
     */
    @TableField("end_dt")
    private Date endDt;

    /**
     * 承运商ID
     */
    @TableField("carrier_id")
    private Long carrierId;

    /**
     * 承运商用户ID
     */
    @TableField("carrier_user_id")
    private Long carrierUserId;

    @TableField("carrier_user_code")
    private String carrierUserCode;

    /**
     * 承运商名称
     */
    @TableField("carrier_name")
    private String carrierName;

    /**
     * 线路ID
     */
    @TableField("line_id")
    private Long lineId;

    /**
     * 线路名称
     */
    @TableField("line_name")
    private String lineName;

    /**
     * 公里数
     */
    @TableField("kilometer")
    private BigDecimal kilometer;

    /**
     * 总数量
     */
    @TableField("sum_num")
    private BigDecimal sumNum;

    /**
     * 总体积
     */
    @TableField("sum_vol")
    private BigDecimal sumVol;

    /**
     * 总运费
     */
    @TableField("freight_money")
    private BigDecimal freightMoney;

    @TableField("sum_money")
    private BigDecimal sumMoney;

    /**
     * 装车费
     */
    @TableField("loading_money")
    private BigDecimal loadingMoney;

    /**
     * 客诉
     */
    @TableField("cust_complaint")
    private BigDecimal custComplaint;

    /**
     * 其他罚款
     */
    @TableField("other_fines")
    private BigDecimal otherFines;

    /**
     * 其他补贴
     */
    @TableField("other_subsidie")
    private BigDecimal otherSubsidie;

    /**
     * 状态
     */
    @TableField("stat")
    private String stat;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 交付id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建用户
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     * 所属公司id
     */
    @TableField("operate_id")
    private Long operateId;

    /**
     * 所属公司
     */
    @TableField("operate_name")
    private String operateName;

    public BigDecimal getSumMoney() {
        return sumMoney;
    }

    public void setSumMoney(BigDecimal sumMoney) {
        this.sumMoney = sumMoney;
    }

    public String getCarrierUserCode() {
        return carrierUserCode;
    }

    public void setCarrierUserCode(String carrierUserCode) {
        this.carrierUserCode = carrierUserCode;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getStartDt() {
        return startDt;
    }

    public void setStartDt(Date startDt) {
        this.startDt = startDt;
    }

    public Date getEndDt() {
        return endDt;
    }

    public void setEndDt(Date endDt) {
        this.endDt = endDt;
    }

    public Long getCarrierId() {
        return carrierId;
    }

    public void setCarrierId(Long carrierId) {
        this.carrierId = carrierId;
    }

    public Long getCarrierUserId() {
        return carrierUserId;
    }

    public void setCarrierUserId(Long carrierUserId) {
        this.carrierUserId = carrierUserId;
    }

    public String getCarrierName() {
        return carrierName;
    }

    public void setCarrierName(String carrierName) {
        this.carrierName = carrierName;
    }

    public Long getLineId() {
        return lineId;
    }

    public void setLineId(Long lineId) {
        this.lineId = lineId;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public BigDecimal getKilometer() {
        return kilometer;
    }

    public void setKilometer(BigDecimal kilometer) {
        this.kilometer = kilometer;
    }

    public BigDecimal getSumNum() {
        return sumNum;
    }

    public void setSumNum(BigDecimal sumNum) {
        this.sumNum = sumNum;
    }

    public BigDecimal getSumVol() {
        return sumVol;
    }

    public void setSumVol(BigDecimal sumVol) {
        this.sumVol = sumVol;
    }

    public BigDecimal getFreightMoney() {
        return freightMoney;
    }

    public void setFreightMoney(BigDecimal freightMoney) {
        this.freightMoney = freightMoney;
    }

    public BigDecimal getLoadingMoney() {
        return loadingMoney;
    }

    public void setLoadingMoney(BigDecimal loadingMoney) {
        this.loadingMoney = loadingMoney;
    }

    public BigDecimal getCustComplaint() {
        return custComplaint;
    }

    public void setCustComplaint(BigDecimal custComplaint) {
        this.custComplaint = custComplaint;
    }

    public BigDecimal getOtherFines() {
        return otherFines;
    }

    public void setOtherFines(BigDecimal otherFines) {
        this.otherFines = otherFines;
    }

    public BigDecimal getOtherSubsidie() {
        return otherSubsidie;
    }

    public void setOtherSubsidie(BigDecimal otherSubsidie) {
        this.otherSubsidie = otherSubsidie;
    }

    public String getStat() {
        return stat;
    }

    public void setStat(String stat) {
        this.stat = stat;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getDeliverId() {
        return deliverId;
    }

    public void setDeliverId(Long deliverId) {
        this.deliverId = deliverId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getOperateId() {
        return operateId;
    }

    public void setOperateId(Long operateId) {
        this.operateId = operateId;
    }

    public String getOperateName() {
        return operateName;
    }

    public void setOperateName(String operateName) {
        this.operateName = operateName;
    }

    @Override
    public String toString() {
        return "FiCarrierFreightInfo{" +
        "id=" + id +
        ", startDt=" + startDt +
        ", endDt=" + endDt +
        ", carrierId=" + carrierId +
        ", carrierUserId=" + carrierUserId +
        ", carrierName=" + carrierName +
        ", lineId=" + lineId +
        ", lineName=" + lineName +
        ", kilometer=" + kilometer +
        ", sumNum=" + sumNum +
        ", sumVol=" + sumVol +
        ", freightMoney=" + freightMoney +
        ", loadingMoney=" + loadingMoney +
        ", custComplaint=" + custComplaint +
        ", otherFines=" + otherFines +
        ", otherSubsidie=" + otherSubsidie +
        ", stat=" + stat +
        ", remark=" + remark +
        ", deliverId=" + deliverId +
        ", deptId=" + deptId +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", operateId=" + operateId +
        ", operateName=" + operateName +
        "}";
    }
}
